package com.mall.shopping.converter;

import com.mall.shopping.dal.entitys.PanelContent;
import com.mall.shopping.dto.PanelContentItemDto;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author ShuiYi
 * @time 2021-07-22 9:44
 */
@Mapper(componentModel = "spring")
public interface PanelContentConverter {
    List<PanelContentItemDto> panelContentToDos(List<PanelContent> panelContents);
}
